.translation-form {
    margin: 25px auto;
    width: 80%;
}

.container {
    max-width: 100%;
    padding: 0 2%;
    box-sizing: border-box;
    text-align: center;
}

.text-input {
    width: 96%;
    padding: 2%;
    border: 1px solid #666;
    border-radius: 3px;
    font-size: 1.1em;
    margin-bottom: 12px;
    background: #f8f8f8;
}

.button-group {
    margin: 15px 0;
    text-align: center;
}

.translate-btn {
    display: inline-block;
    background: #333;
    color: white !important;
    padding: 16px 40px;
    border: none;
    border-radius: 3px;
    font-size: 1.4em;
    cursor: pointer;
    margin: 0 5px;
    text-decoration: none !important;
}

.translation-result {
    margin: 20px 0;
    padding: 15px;
    border: 2px solid #ddd;
    background: #fff;
    max-width: 95%;
    word-wrap: break-word;
}

.lang-container {
    display: table;
    width: 100%;
    margin-bottom: 20px;
}
.lang-selector {
    display: table-cell;
    width: 45%;
}
.lang-arrow {
    display: table-cell;
    width: 10%;
    text-align: center;
}

.lang-selector select {
    width: 100%;
    padding: 8px;
    border: 1px solid #666;
    border-radius: 3px;
    background: #f8f8f8;
    font-size: 1.05em;
}

.error-msg {
    color: #cc0000;
    padding: 10px;
    border: 1px solid #cc0000;
    margin: 15px 0;
}

